Attempts to retrieve an McuSession of type T.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Function 
TryGetMcuSession(
Of T 
As 

McuSession) ( _
		<
OutAttribute> 
ByRef 
existingMcuSession 
As T _
) 
As 
Boolean
C#
public 
bool 
TryGetMcuSession<T>(
	
out T 
existingMcuSession
)
where T : 

McuSession
Visual C++
public:
generic<
typename T>
where T : 

McuSession
bool 
TryGetMcuSession(
		[
OutAttribute] T% 
existingMcuSession
)
JavaScript
JavaScript does not support generic types or
methods.

Parameters

existingMcuSession
Type: T %
Retrieved MCU session.

Type Parameters

T
Type of the McuSession required.

Return Value

True if the MCU session exists.

Remarks

An McuSession instance is instantiated for all available McuSession factories. If the joined conference does not support a specific MCU type, the corresponding MCU session state is set to Terminated.

See Also